<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>查看详情</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon" />
    <link href="./css/bootstrap.min.css" rel="stylesheet">
    <link href="./css/style.css" rel="stylesheet">
    <script src="./js/jquery-2.2.4.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <script src="./js/public.js"></script>
    <script src="./js/details.js"></script>
    
</head>

<body style="background-color: #f7f7fa">
    <div style="position: relative;margin: auto;">
        <nav id="system-topnav">
            广西民族大学相思湖学院毕业设计答辩系统
            <div style="display: inline;" id="navbox">
                <span>
                    <div class="btn-group">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
                        <ul class="dropdown-menu" style="right:0;">
                            <li><a href="#" id="public-update">修改密码</a></li>
                            <li><a href="Personnel-list.html">答辩列表</a></li>
                            <li role="separator" class="divider" style="margin:0"></li>
                            <li><a href="#" id="cancel">注销</a></li>
                        </ul>
                    </div>
                </span>
                <span id="nav-position">老师</span>
                <span id="nav-username" style="color: blue;"></span>
            </div>
        </nav>
        <div style="position: relative;margin: auto;max-width: 1280px;">
            <div id="public-body-div-left">
                <div style="text-align: center;margin-top: 20px;">
                    <img src="Hi.png" id="user-tx">
                </div>
                <div style="text-align: left;margin-top: 12px;">
                    <ul style="list-style: none;" id="leftul">
                        <li><span style="font-weight: bold;">学号：</span><span class="public-userinfo" id="detadils-stusno">117333440101</span>
                        </li>
                        <li><span style="font-weight: bold;">姓名：</span><span class="public-userinfo" id="detadils-stuname">赵晓光</span></li>
                        <li><span style="font-weight: bold;">学院：</span><span class="public-userinfo" id="detadils-stuxy">理工学院</span></li>
                        <li><span style="font-weight: bold;">专业：</span><span class="public-userinfo" id="detadils-stuzy">软件工程</span></li>
                        <li><span style="font-weight: bold;">班级：</span><span class="public-userinfo" id="detadils-stuclass">16软工2</span></li>
                        <li id="dbpf"><span style="font-weight: bold;">答辩评分：</span><input id="public-range" type="range" max="100"
                                min="0" step="1" value="60"><span id="range-count" style="margin-left: 6px;">60</span>分
                        </li>
                        <li id="dbpy"><span style="font-weight: bold;">答辩评语：</span></li>
                        <li id="dbpy1"><textarea id="dbcount"></textarea></li>
                    </ul>
                </div>
            </div>
            <!-- 教师 -->
            <div id="public-body-div-right">
                <select id="details-top-select" style="padding:2px 0 4px 0">
                    <option>选择论文、任务书</option>
                </select>
                <div id="details-content">

                </div>
            </div>
            <!-- 书记员 -->
            <div id="public-body-div-right1">
                <p style="position: absolute;top: -40px;font-size: 16px;">答辩记录：</p>
                <div id="editor">
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="myModal-public" tabindex="-1">
        <div class="modal-dialog" style=" position: relative;
        top: 40%;
        transform: translateY(-50%);">
            <div class="modal-content">
                <div class="modal-header">
                    <p class="modal-title"
                        style="display: inline-block;float: left;font-size: 15px;font-weight: bold;"></p>
                    <button type="button" class="close" data-dismiss="modal">X</button>
                </div>
                <div class="modal-body" id="myModal-public-body" style="text-align: center;">

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn" data-dismiss="modal" style="padding: 2px 20px;">关闭</button>
                </div>
            </div>
        </div>
    </div><!-- 公共模态框 -->
    <div class="modal fade" id="myModal-public3" tabindex="-1">
        <div class="modal-dialog" style=" position: relative;
        top: 40%;
        transform: translateY(-50%);">
            <div class="modal-content">
                <div class="modal-header">
                    <p class="modal-title"
                        style="display: inline-block;float: left;font-size: 15px;font-weight: bold;"></p>
                    <button type="button" class="close" data-dismiss="modal">X</button>
                </div>
                <div class="modal-body" id="myModal-public-body3" style="text-align: center;">

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn" data-dismiss="modal" style="padding: 2px 20px;">关闭</button>
                </div>
            </div>
        </div>
    </div><!-- 学生上传论文和任务书 -->
</body>
<script src="wangEditor-3.1.1/release/wangEditor.min.js"></script>
    <script>
        var E = window.wangEditor
        var editor = new E('#editor')
        editor.create()
    </script>
    <script>
         if (getCookie('login-usertype') == "teacher"){
            $('title').html('' + $('#detadils-stuname').html() + '的答辩详情')
         }
         if (getCookie('login-usertype') == "clerk"){
            $('title').html('' + $('#detadils-stuname').html() + '的答辩详情')
         }
    </script>
</html>